package com.ruoyan.service;

import com.ruoyan.pojo.Employee;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Package: com.ruoyan.service
 * @ClassName: SalaryManageService
 * @Author: ruoyan1998
 * @CreateTime: 2021/6/3 16:08
 * @Description: 工资管理业务层
 */
public interface SalaryManageService
{
    /**
     * 查询所有员工的工资，奖金，备注信息
     *
     * @return List<Employee>*/
    List<Employee> queryEmployeeSalaryList();

    /**
     * 根据id查询某位员工的工资，奖金，备注信息
     *
     * @param id
     * @return employee*/
    Employee queryEmployeeSalaryById(int id);

    /**
     * 更新员工工资信息（不包含工资，奖金，备注）
     *
     * @param employee
     * @return int*/
    int updateEmployeeSalary(Employee employee);
}
